package com.tansun.easycare.rule.common.service;

import com.tansun.easycare.rule.decisiontree.entity.DecisionTreeEntity;
import com.tansun.easycare.rule.exception.BizException;

public interface RuleGeneralService {
	/**
	 * 保存并发布决策树
	 * @param treeEntity
	 */
	public String saveAndDeployRuleTree(DecisionTreeEntity treeEntity,String serverUrl) throws Exception;

	/**
	 * 复制规则
	 * @param id
	 * @return
	 */
	public void copyRuleItem(String id) throws Exception;

	/**
	 * 导出规则 20191228 ljt
	 * @param ids
	 */
	public void exportRuleItem(String ids);
	
	public String compileDrl(String[] ids) throws BizException;
}
